package com.thn.netty.chat.primitive;

import io.netty.buffer.ByteBuf;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.thn.netty.chat.codec.IMPB;

/**
 * Login request.
 * @author Thierry Herrmann
 */
public class LoginRequest extends Command {


    public LoginRequest(int aCmdId,ByteBuf msgData) {
        super(PacketType.CMD_FUNCTION_LOGIN, aCmdId,msgData);
    }  

    /** {@inheritDoc} */
    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE)
        .appendSuper(super.toString())
        .toString();
    }
}
